package com.wuxin.ssm.mapper;

import com.wuxin.ssm.entity.Orderdetail;
import com.wuxin.ssm.entity.OrderdetailExample;
import com.wuxin.ssm.entity.ProductInfo;
import com.wuxin.ssm.vo.OrderdetailVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderdetailMapper {


    public List<Orderdetail> selectCondition(OrderdetailVo ordervo);

    public List<Orderdetail> selectByOid(String oid);

    public List<Orderdetail> selectByUidAndPid(String oid);

    public List<Orderdetail> selectAll(OrderdetailExample example);



    int countByExample(OrderdetailExample example);

    int deleteByExample(OrderdetailExample example);

    int deleteByPrimaryKey(Integer odid);

    int insert(Orderdetail record);

    int insertSelective(Orderdetail record);

    List<Orderdetail> selectByExample(OrderdetailExample example);

    Orderdetail selectByPrimaryKey(Integer odid);

    int updateByExampleSelective(@Param("record") Orderdetail record, @Param("example") OrderdetailExample example);

    int updateByExample(@Param("record") Orderdetail record, @Param("example") OrderdetailExample example);

    int updateByPrimaryKeySelective(Orderdetail record);

    int updateByPrimaryKey(Orderdetail record);



}